package top.shaozuo.simple.configuration.microprofile.config.converts;

import org.eclipse.microprofile.config.spi.Converter;

public class DoubleConverter implements Converter<Double> {

    /**
     * 
     */
    private static final long serialVersionUID = 6097025062236081515L;
    public static final DoubleConverter INSTANCE = new DoubleConverter();

    @Override
    public Double convert(String value) {
        return value != null ? Double.valueOf(value) : null;
    }
}